home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 20
/
Cream of the Crop 20 (Terry Blount) (1996).iso
/
program
/
kh_gdi.zip
/
ABOUT.TXT
next >
Wrap
Text File
|
1996-06-04
|
5KB
|
120 lines
This document contains information about KNOW-HOW line of developer's
tools and end-user's programs.
Contents:
0. General information
1. Developer's toolkit.
Includes DLLs tested with (Borland C++ 4.52). Source codes (Borland C++)
available.
a. KNOW-HOW GDI: C++ library, WIN GDI extender
b. KNOW-HOW.GRAF: C++ Library for Business / Scientific Diagrams
c. KNOW-HOW.SLANG: Add-on general purpose Language Interpreter
2. End user's programs.
Source codes (Borland C++) available.
a. SLANG: Integrated Data Processing, Vector Drawing and Charting Tool.
0. General information
Check our: http://home.istar.ca/~stepanv/Know_how.html (Capital 'K' in
Know_how) for more information and latest versions of all software mentioned
below.
IMPORTANT ! Non-registered DLLs could produce warning messages :
"This copy of program is not registered".
1. KNOW-HOW GDI: C++ library, WIN GDI extender
KH GDI is a DLL written using C++ (tested with Borland C++ 4.52). Its
primary purpose is to wrap WIN API GDI calls, to hide the most complex aspects
of the vector drawing from the programmer.
You can perform the following tasks with KH GDI (only few basic features listed):
1. Zoom your image or part of it:
draw_pig(); // Your function
zoom(2.5,3.1) // Extend 2.5 times horizontally and 3.1 - vertically
draw_pig(); // Same function draws extended picture
2. Scroll your image or part of it:
draw_pig();
scroll(200, 200); // All output after this command will be scrolled
draw_pig(); // Same function produces picture in the different location
3. Mirror reflection.
draw_pig(); // Your function
mirror(100, 100); // Vertical mirror, all output after this command will be
// reflected
draw_pig(); // Draw reflected picture
4. Rotation and nested rotation:
draw_pig(); // Your function
rotate(alpha, x, y); // All output after this command will be
// rotated alpha degrees relatively to
// point (x, y)
draw_pig(); // Rotated picture
rotate(beta, x1, y1); // All output after this command will be
// rotated (alpha, x, y) and then (beta, x1, y1)
draw_pig(); // Image after complex rotation
endrotate(); // End second rotation
endrotate(); // End first rotation
KNOW-HOW.GRAF: C++ Library (all sources available)
Business and Scientific diagrams of different types. Extended datasets,
complex grafs with only few function calls. Library is based on KNOW-
HOW.GDI... Yes, you can rotate diagram!
KNOW-HOW.SLANG: Add-on general purpose Language Interpreter.
'Big packages' all have scripting languages. Microsoft Word (Word Basic),
Visual Fox Pro (Fox), Paradox (PAL) ... Now you could have scripting (more than
just scripting, actually) language in your program.
SLANG is the BASIC-like language. It includes FOR - cycles, IF -
conditions, file read / write operations, extended mathematics (including array
operations), user - defined functions, ability ty pass control to another program file
and more.
KH_SLANG is the DLL implementing SLANG interpreter. It is possible to
derive from KH_SLANG classes, and add your own functions to SLANG. For
example, if you are creating database package (say, Visual Bunny ?), you will
probably want to use cycles, condition operators (IF - ELSE), subroutines and so
on from SLAMG, and add database-specific functions, for example, EXEC_SQL,
OPEN_DATABASE... To do so you should use inheritance and follow easy steps
described in documentation.
SLANG: Integrated Data Processing, Vector Drawing and Charting Tool.
Data Processing. SLANG uses powerful data processing language
providing you with tool for almost anything, from home finances to stock trading. It
is usually easier to use SLANG than, say spreadsheets.
Vector Drawing. As part of SLANG language there are drawing functions.
You can draw using formulas of directly, with mouse. Please check KNOW-HOW
Home Page (see paragraph 0) for some examples of SLANG drawings. All you
do in SLANG could be printed, of course.
Charting Tool. SLANG could draw charts. Large datasets could be
processed. SLANG mathematical functions permit you to perform complex
transformations of your data.
Example. Imagine that you are a stock traider. You just downloaded from the
Internet 500 historical stock quote files for 500 stocks. You want to plot Low, Hi
and Volume versus dates, do some indicators - based computations and print
results. You are also hungry. Just start SLANG, run program (you can use one of
examples included in package) - and go for lunch. SLANG will do the rest. Or you
can try to do it using spreadsheets...